.class public Les/cx;
.super Ljava/lang/Object;
.source "V5AddressBarHelper.java"


# direct methods
.method public static a(Landroid/content/Context;Lcom/estrongs/android/view/FileGridViewWrapper;Ljava/lang/String;Ljava/util/List;Ljava/util/List;)V
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Lcom/estrongs/android/view/FileGridViewWrapper;",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    if-eqz p2, :cond_1b

    const-string v0, ""

    .line 29
    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    goto/16 :goto_5

    .line 30
    :cond_0
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v1

    const-string v2, "recycle://"

    const v3, 0x7f11093c

    if-eqz v1, :cond_3

    .line 31
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->K1(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 32
    invoke-virtual {p0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 33
    invoke-interface {p3, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 34
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->Y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_1b

    .line 35
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    :cond_1
    const-string p0, "/"

    .line 36
    invoke-virtual {p2, p0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_2

    const/4 p1, 0x1

    .line 37
    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    .line 38
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 39
    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 40
    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 41
    :cond_2
    invoke-static {p2, p3, p4, v0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 42
    :cond_3
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->B2(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 43
    invoke-static {}, Lcom/estrongs/android/util/h0;->s()Ljava/lang/String;

    move-result-object p1

    .line 44
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->M(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 45
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-interface {p4, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 46
    invoke-interface {p3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const v0, 0x7f1107b1

    .line 47
    invoke-virtual {p0, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 48
    invoke-interface {p3, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 49
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->C2(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_1b

    .line 50
    invoke-static {}, Lcom/estrongs/android/util/h0;->s()Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_1b

    .line 51
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 52
    :cond_4
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->v1(Ljava/lang/String;)Z

    move-result v0

    const v1, 0x7f110218

    if-eqz v0, :cond_6

    .line 53
    invoke-virtual {p0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string p0, "gallery://local/buckets/"

    .line 54
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 55
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->w1(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_1b

    .line 56
    invoke-virtual {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->X()Lcom/estrongs/fs/g;

    move-result-object p0

    if-eqz p0, :cond_5

    .line 57
    invoke-virtual {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->X()Lcom/estrongs/fs/g;

    move-result-object p0

    invoke-interface {p0}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 58
    :cond_5
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 59
    :goto_0
    invoke-interface {p3, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_5

    .line 60
    :cond_6
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->Q1(Ljava/lang/String;)Z

    move-result v0

    const/4 v4, 0x0

    if-eqz v0, :cond_7

    .line 61
    invoke-virtual {p0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string p0, "pic://"

    .line 62
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 63
    invoke-virtual {p2, p0}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p0

    add-int/lit8 p0, p0, 0x6

    .line 64
    invoke-virtual {p2, v4, p0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_1b

    .line 65
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 66
    :cond_7
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->i2(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_9

    const v0, 0x7f11051e

    .line 67
    invoke-virtual {p0, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string p0, "SP://"

    .line 68
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 69
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->j2(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_1b

    .line 70
    invoke-virtual {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->X()Lcom/estrongs/fs/g;

    move-result-object p0

    if-eqz p0, :cond_8

    .line 71
    invoke-virtual {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->X()Lcom/estrongs/fs/g;

    move-result-object p0

    invoke-interface {p0}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 72
    :cond_8
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 73
    :goto_1
    invoke-interface {p3, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_5

    .line 74
    :cond_9
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->H1(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_a

    const p1, 0x7f110278

    .line 75
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string p0, "net://"

    .line 76
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 77
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->I1(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_1b

    .line 78
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->d0(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_1b

    .line 79
    invoke-static {p0}, Lcom/estrongs/android/util/h0;->n0(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-interface {p4, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 80
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 81
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 82
    :cond_a
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->d1(Ljava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_1a

    invoke-static {p2}, Lcom/estrongs/android/util/h0;->a2(Ljava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_1a

    invoke-static {p2}, Lcom/estrongs/android/util/h0;->f1(Ljava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_1a

    .line 83
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->D2(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_b

    goto/16 :goto_4

    .line 84
    :cond_b
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->n2(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_c

    const p1, 0x7f110600

    .line 85
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string p0, "smb://"

    .line 86
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 87
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->o2(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_1b

    .line 88
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->j0(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_1b

    .line 89
    invoke-static {p0}, Lcom/estrongs/android/util/h0;->H(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-interface {p4, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 90
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 91
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 92
    :cond_c
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->N0(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_d

    const p1, 0x7f1105f7

    .line 93
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string p0, "bt://"

    .line 94
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 95
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->O0(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_1b

    .line 96
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->p(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_1b

    .line 97
    invoke-static {v4, p0}, Lcom/estrongs/android/util/h0;->a(ZLjava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-interface {p4, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 98
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 99
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 100
    :cond_d
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->U0(Ljava/lang/String;)Z

    move-result p1

    const/16 v0, 0x2a

    if-eqz p1, :cond_e

    .line 101
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->s(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    .line 102
    invoke-static {p0}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-interface {p4, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 103
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 104
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->t(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    .line 105
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->s(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 106
    invoke-static {p0, p3, p4, p1}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 107
    :cond_e
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->X0(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_11

    .line 108
    invoke-static {}, Lcom/estrongs/android/util/h0;->f()Ljava/util/List;

    move-result-object p0

    const/4 p1, 0x0

    .line 109
    :goto_2
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v4, v0, :cond_10

    .line 110
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "du://"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {p0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 111
    invoke-virtual {p2, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_f

    move-object p1, v0

    goto :goto_3

    :cond_f
    add-int/lit8 v4, v4, 0x1

    goto :goto_2

    :cond_10
    :goto_3
    if-eqz p1, :cond_1b

    .line 112
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 113
    invoke-interface {p3, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 114
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result p0

    invoke-virtual {p2, p0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p0

    invoke-static {p0, p3, p4, p1}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 115
    :cond_11
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->T1(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_12

    .line 116
    invoke-virtual {p0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 117
    invoke-interface {p3, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_5

    .line 118
    :cond_12
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->k2(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_13

    const p1, 0x7f110b87

    .line 119
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 120
    invoke-interface {p3, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_5

    .line 121
    :cond_13
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->H0(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_14

    const p1, 0x7f110103

    .line 122
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string p0, "appfolder://"

    .line 123
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 124
    invoke-virtual {p2, p0}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p0

    add-int/lit8 p0, p0, 0xc

    .line 125
    invoke-virtual {p2, v4, p0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_1b

    .line 126
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 127
    :cond_14
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->D1(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_15

    const p1, 0x7f110216

    .line 128
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string p0, "music://"

    .line 129
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 130
    invoke-virtual {p2, p0}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p0

    add-int/lit8 p0, p0, 0x8

    .line 131
    invoke-virtual {p2, v4, p0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_1b

    .line 132
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 133
    :cond_15
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->z2(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_16

    const p1, 0x7f110215

    .line 134
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string p0, "video://"

    .line 135
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 136
    invoke-virtual {p2, p0}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p0

    add-int/lit8 p0, p0, 0x8

    .line 137
    invoke-virtual {p2, v4, p0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_1b

    .line 138
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 139
    :cond_16
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->Q0(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_17

    const p1, 0x7f110210

    .line 140
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string p0, "book://"

    .line 141
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 142
    invoke-virtual {p2, p0}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p0

    add-int/lit8 p0, p0, 0x7

    .line 143
    invoke-virtual {p2, v4, p0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_1b

    .line 144
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 145
    :cond_17
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->L0(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_19

    const p1, 0x7f110297

    .line 146
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string p0, "archive://"

    .line 147
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 148
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->s(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    .line 149
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 150
    invoke-static {p0}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 151
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_18

    .line 152
    invoke-interface {p4, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 153
    :cond_18
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->t(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto :goto_5

    .line 154
    :cond_19
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->t2(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_1b

    const-string p0, "usb://"

    .line 155
    invoke-virtual {p2, p0}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p0

    add-int/lit8 p0, p0, 0x6

    .line 156
    invoke-virtual {p2, v4, p0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_1b

    .line 157
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    goto :goto_5

    :cond_1a
    :goto_4
    const p1, 0x7f1105fa

    .line 158
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p0

    invoke-interface {p4, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string p0, "ftp://"

    .line 159
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 160
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->e1(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_1b

    .line 161
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->D(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_1b

    .line 162
    invoke-static {p0}, Lcom/estrongs/android/util/h0;->H(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-interface {p4, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 163
    invoke-interface {p3, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 164
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p3, p4, p0}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    :cond_1b
    :goto_5
    return-void
.end method

.method private static a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    if-eqz p0, :cond_3

    if-eqz p3, :cond_3

    const-string v0, "/"

    .line 16
    invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    const/4 v2, 0x1

    if-eqz v1, :cond_0

    .line 17
    invoke-virtual {p0, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p3

    invoke-static {p0, p1, p2, p3}, Les/cx;->a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    return-void

    .line 18
    :cond_0
    invoke-virtual {p0, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    const/4 v3, 0x0

    if-eqz v1, :cond_1

    .line 19
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v1

    sub-int/2addr v1, v2

    invoke-virtual {p0, v3, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p0

    :cond_1
    const-string v1, ""

    .line 20
    invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_3

    .line 21
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 22
    invoke-virtual {p0, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p0

    .line 23
    :goto_0
    array-length p3, p0

    if-ge v3, p3, :cond_3

    .line 24
    aget-object p3, p0, v3

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 25
    aget-object p3, p0, v3

    invoke-interface {p2, p3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 26
    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p3

    invoke-interface {p1, p3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 27
    array-length p3, p0

    sub-int/2addr p3, v2

    if-eq v3, p3, :cond_2

    .line 28
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_2
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_3
    return-void
.end method

.method public static a(Lcom/estrongs/android/view/FileGridViewWrapper;Ljava/lang/String;)Z
    .locals 1

    .line 1
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result p0

    const/4 v0, 0x1

    if-nez p0, :cond_a

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->i2(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_a

    .line 2
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U0(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_a

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->B2(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_0

    goto/16 :goto_0

    .line 3
    :cond_0
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->H1(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_a

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->n2(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_a

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->N0(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_a

    .line 4
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->d1(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_a

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->a2(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_a

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->f1(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_a

    .line 5
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->D2(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_1

    goto :goto_0

    .line 6
    :cond_1
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->X0(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_2

    return v0

    .line 7
    :cond_2
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->T1(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_3

    return v0

    .line 8
    :cond_3
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->k2(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_4

    return v0

    .line 9
    :cond_4
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->H0(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_5

    return v0

    .line 10
    :cond_5
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->Q1(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_a

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->z2(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_a

    .line 11
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->Q0(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_a

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->D1(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_a

    .line 12
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->v1(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_6

    goto :goto_0

    .line 13
    :cond_6
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->L0(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_7

    return v0

    .line 14
    :cond_7
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->t2(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_8

    return v0

    .line 15
    :cond_8
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->k1(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_9

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->j1(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_9

    return v0

    :cond_9
    const/4 p0, 0x0

    return p0

    :cond_a
    :goto_0
    return v0
.end method
